#include "SeqList.h"

void SeqListText1()
{
	SeqList SL;
	SeqListInit(&SL);
	SeqListPushBack(&SL, 1);
	SeqListPushBack(&SL, 2);
	SeqListPushBack(&SL, 3);
	SeqListPushBack(&SL, 4);

	SeqListPopBack(&SL);
	SeqListPopBack(&SL);
	SeqListPopBack(&SL);
	SeqListPopBack(&SL);
	//SeqListPopBack(&SL);




	SeqListPrint(&SL);


	SeqListDestroy(&SL);
}

void SeqListText2()
{
	SeqList SL;
	SeqListInit(&SL);
	SeqListPushFront(&SL, 1);
	SeqListPushFront(&SL, 2);
	SeqListPushFront(&SL, 3);
	SeqListPushFront(&SL, 4);

	SeqListPopFront(&SL);
	SeqListPopFront(&SL);
	SeqListPopFront(&SL);
	SeqListPopFront(&SL);
	SeqListPopFront(&SL);


	//SeqListInsert(&SL, 0, 40);
	//SeqListErase(&SL, 0);

	SeqListPrint(&SL);


	SeqListDestroy(&SL);
}
int main()
{
	SeqListText2();
	return 0;
}